package com.solve.entity;

import lombok.Data;

import java.util.Date;

@Data
public class User {
    private String uuid;

    private String userName;

    private String password;

    private String salt;

    private String phone;

    private String tips;

    private String state;

    private Date createdtime;

    private Date updatedtime;

    private String pictureurl;

    private String postbox;

    private String channelid;

    private String area;

    private String educationExperience;

    private String briefIntroduction;

    private  String followResource;

    private  String followUser;

    private Integer integral;

    public User(String uuid, String userName, String password, String salt, String phone, String tips, String state, Date createdtime, Date updatedtime, String pictureurl, String postbox,String channelid) {
        this.uuid = uuid;
        this.userName = userName;
        this.password = password;
        this.salt = salt;
        this.phone = phone;
        this.tips = tips;
        this.state = state;
        this.createdtime = createdtime;
        this.updatedtime = updatedtime;
        this.pictureurl = pictureurl;
        this.postbox = postbox;
        this.channelid = channelid;
    }

    public User() {
        super();
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid == null ? null : uuid.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt == null ? null : salt.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getTips() {
        return tips;
    }

    public void setTips(String tips) {
        this.tips = tips == null ? null : tips.trim();
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }

    public Date getCreatedtime() {
        return createdtime;
    }

    public void setCreatedtime(Date createdtime) {
        this.createdtime = createdtime;
    }

    public Date getUpdatedtime() {
        return updatedtime;
    }

    public void setUpdatedtime(Date updatedtime) {
        this.updatedtime = updatedtime;
    }

    public String getPictureurl() {
        return pictureurl;
    }

    public void setPictureurl(String pictureurl) {
        this.pictureurl = pictureurl == null ? null : pictureurl.trim();
    }

    public String getPostbox() {
        return postbox;
    }

    public void setPostbox(String postbox) {
        this.postbox = postbox == null ? null : postbox.trim();
    }
}